package com.itheima.pojo.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Primary;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("ss_role")
public class Role {
    @TableId(type = IdType.ASSIGN_UUID)
    private String roleId;
    private String name;
    private String remark;
    private double orderNo;
    private String createBy;
    private String createDept;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date createTime;
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
